﻿namespace GoodAdmin.System;

public class MenuAddInput:SysMenu
{

    /// <summary>
    /// 父ID
    /// </summary>
    [Required(ErrorMessage = "ParentId不能为空")]
    public override long ParentId { get; set; }

    /// <summary>
    /// 标题
    /// </summary>
    [Required(ErrorMessage = "Title不能为空")]
    public override string Title { get; set; }

    /// <summary>
    /// 菜单类型
    /// </summary>
    public override string MenuType { get; set; }

    /// <summary>
    /// 路径
    /// </summary>
    [Required(ErrorMessage = "Path不能为空")]
    public override string Path { get; set; }
}

public class MenuUpdateInput : MenuAddInput
{
    [Required(ErrorMessage = "Id不能为空")]
    public override long Id { get; set ; }
}

public class MenuDeleteInput: BaseIdInput
{

}
public class MenuPageInput : BasePageInput
{

}
